package cn.okcmd.myaop.web.controllers.biz1;

import cn.okcmd.myaop.web.resps.CommonResp;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * create by caoqg on 2021/7/27
 * 功能说明:
 */
@Slf4j
@RestController
@RequestMapping("/api/b1")
public class B1_02Controller {

    @GetMapping("test3")
    public CommonResp<String> test3(){
        log.info("biz1 test3");
        return CommonResp.succ("this is test b1test3");
    }

    @GetMapping("test4")
    public CommonResp<String> test4(){
        log.info("biz1 test2");
        return CommonResp.succ("this is test b1test4");
    }
}
